package 锁.lock.ProduceConsumer;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/9/5 15:34
 * @description:
 * @version:
 */
public class A extends Thread {
    ProduceCost produceCost;
    public A(ProduceCost produceCost){
        this.produceCost = produceCost;
    }

    @Override
    public void run() {
        while (true) {
            produceCost.showA();
        }
    }
}

